﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Week6Music_API_and_Angular_.Data.Model
{
    public class Artist
    {
        public int Id { get; set; }

        [InverseProperty("OpeningArtist")]
        public virtual List<Event> OpeningEvents { get; set; }

        [InverseProperty("FeaturedArtist")]
        public virtual List<Event> FeaturedEvents { get; set; }

        public string Name { get; set; }

        public bool OnTour { get; set; }

        public string Genre { get; set; }

        public string ImgUrl { get; set; }
    }
}